package cn.chia.pojo;

/**
 * TblStocks entity. @author MyEclipse Persistence Tools
 */

public class TblStocks implements java.io.Serializable {

	// Fields

	private String itemId;
	private TblItems tblItems;
	private Integer amount;
	private Long safeAmount;

	// Constructors

	/** default constructor */
	public TblStocks() {
	}

	/** minimal constructor */
	public TblStocks(TblItems tblItems) {
		this.tblItems = tblItems;
	}

	/** full constructor */
	public TblStocks(TblItems tblItems, Integer amount, Long safeAmount) {
		this.tblItems = tblItems;
		this.amount = amount;
		this.safeAmount = safeAmount;
	}

	// Property accessors

	public String getItemId() {
		return this.itemId;
	}

	public void setItemId(String itemId) {
		this.itemId = itemId;
	}

	public TblItems getTblItems() {
		return this.tblItems;
	}

	public void setTblItems(TblItems tblItems) {
		this.tblItems = tblItems;
	}

	public Integer getAmount() {
		return this.amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public Long getSafeAmount() {
		return this.safeAmount;
	}

	public void setSafeAmount(Long safeAmount) {
		this.safeAmount = safeAmount;
	}

}